#include "execinfo.h"
#include "error.h"

#include <execinfo.h>

int Wrap::backtrace_(void **array, int size) {
    return PERROR_NEG(::backtrace(array, size));
}


char **Wrap::backtrace_symbols_(void *const *array, int size) {
    return PERROR_EQ0(::backtrace_symbols(array, size));
}